package com.summer.mapper;


import com.summer.entity.UserMoneyRate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 用户借款金额评估Mapper接口
 */

public interface UserMoneyRateMapper {
	/**
	 * 添加
	 * @param
	 * @return
	 */
	public int insert(UserMoneyRate userMoneyRate);
	/**
	 * 更新
	 *
	 * @param
	 * @return
	 */
	public int update(UserMoneyRate userMoneyRate);
	/**
	 * 查询
	 *
	 * @param
	 * @return
	 */
	public UserMoneyRate findByUserId(Integer uid);
	/**
	 * 删除
	 * @param id
	 * @return
	 */
	int deleteById(Integer id);
}
